/*
 * Camera.h
 *
 *  Created on: Mar 30, 2011
 *      Author: s88900
 */

#ifndef CAMERA_H_
#define CAMERA_H_

#include "conc/Thread.h"
#include "Generator.h"
#include "Merger.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>



using namespace std;

class Camera: public Thread {
private:
	char image;
	int number;
	Generator* world;
	Merger* merger;
public:
	Camera(int, Generator*, Merger*);
	void run();
	void refresh();
	void sendImage();
	virtual ~Camera();
};

#endif /* CAMERA_H_ */
